<?php
namespace app\index\controller;

use Dompdf\Image\Cache;
use think\Controller;
use Redis\Lite;

class Index extends Controller
{
    public function index()
    {
        $redis = new Lite();
        $redis->set('key', "笑嘻嘻", 60);
        echo $redis->get('key');
    }
}
